﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Mobile_Free : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["NoiBats"] == null)
        {
            NhaKinhDoanhDataContext db = new NhaKinhDoanhDataContext();

            Session["NoiBats"] = (from sp in db.TaiLieus
                                  where sp.Feature == 1
                                  orderby sp.DateAdd descending
                                  select sp).Take(10).ToList<TaiLieu>();
        }
    }
}